import { createApp } from 'vue'
import './style.css'
import App from './app.vue'
import { createPinia } from 'pinia'
// 创建pinia实例
const pinia = createPinia();
import router from "./router"
import '../public/font/iconfont.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import "./utils/resize"

const app = createApp(App)


app.use(ElementPlus,{locale:zhCn})
// 使用全局状态管理器
app.use(pinia)
app.use(router)
app.mount('#app')
